﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Platformer1
{
  class FlamePillar : BloodSplat
  {
    public FlamePillar(Level level, Vector2 position, SpriteEffects inflip)
    {
        bActive = true;
        startTime = 0.0f;
        this.level = level;
        this.position = position;
        this.flip = inflip;

        LoadContent();
    }

    public override void LoadContent()
    {
      texture = Level.Content.Load<Texture2D>("Sprites/Fire/fire");
      origin = new Vector2(texture.Width / 2.0f, texture.Height / 2.0f);
      mymovementanimation = new Animation(texture, .1f, true);
      fball = new AnimationPlayer();
      //collectedSound = Level.Content.Load<SoundEffect>("Sounds/PowerUp");
    }
  }
}
